﻿@-webkit-keyframes rotateLoading {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

@keyframes rotateLoading {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}

body {
    font-family: "Noto Sans", "Hiragino Sans GB", "Century Gothic", system, Arial, Verdana, Tahoma, "微软雅黑"
}

.heading {
    font-family: Helvetica, Tahoma, Arial, STXihei, "华文细黑", SimSun, "宋体", Heiti, "黑体", sans-serif
}

.title-bar {
    position: relative;
    height: 4rem;
    line-height: 4rem;
    padding: 0 1rem;
    background-color: #2ecc71
}

.title-bar nav {
    display: inline-block;
    width: 4rem;
    height: 4rem;
    overflow: hidden;
    margin-left: -1rem
}

.title-bar nav a {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 1.6rem;
    color: #fff
}

.title-bar .heading {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 4rem;
    line-height: 4rem;
    text-align: center;
    color: #fff;
    font-size: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.app-page {
    margin: 0 auto;
    max-width: 640px
}

.app-page .loading {
    position: relative
}

.app-page .loading .spinner {
    position: absolute;
    left: 50%;
    top: 100px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    display: block;
    margin-left: -16px;
    width: 32px;
    height: 32px;
    background: url(../images/loading-blue@2x-78fefc5c7ae7e3fc7893e376842d93bf.png) no-repeat center center;
    background-size: 32px 32px;
    -webkit-animation-name: rotateLoading;
    animation-name: rotateLoading;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear
}

.list {
    list-style: none;
    padding: 0
}

.list .list-item {
    padding: 8px 1rem
}

.test-group-list {
    padding: 8px 1rem
}

.test-group-list .question {
    background: #fff;
}

.test-group-list .question .heading {
    margin-top: .5rem;
    margin-bottom: .5rem;
    font-size: 1.6rem
}

.test-paper .top-bar {
    display: flex;
    position: relative;
    height: 48px;
    background-color: #fafafa;
    border-bottom: 1px solid #ccc
}

.test-paper .top-bar:before, .test-paper .top-bar:after {
    content: " ";
    display: table
}

.test-paper .top-bar:after {
    clear: both
}

.test-paper .top-bar nav {
    display: inline-block;
    float: left;
    width: 48px;
    height: 48px;
    line-height: 48px;
    background-color: #2ecc71
}

.test-paper .top-bar nav a {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #fff
}

.test-paper .top-bar .wrap {
    position: relative;
    top: 0;
    left: 0;
    flex: auto
}

.test-paper .top-bar .metas {
    position: absolute;
    z-index: 1;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    height: 48px;
    line-height: 48px;
    font-size: 16px;
    color: #666
}

.test-paper .top-bar .metas .index-number {
    padding-left: .5em;
    padding-right: .5em
}

.test-paper .top-bar .metas .meta {
    text-indent: 48px
}

.test-paper .top-bar .progress-bar {
    position: absolute;
    z-index: 0;
    width: 0;
    height: 48px;
    opacity: .2;
    background-color: #3498db
}

.test-paper .bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 48px;
    line-height: 48px;
    background-color: #fafafa;
    border-top: 1px solid #27ae60;
    border-bottom: 1px solid #27ae60
}

.test-paper .bottom-bar .btn-wrap {
    padding-left: 2rem;
    padding-right: 2rem;
    background-color: #2ecc71
}

.test-paper .bottom-bar .btn-wrap .btn-flat[disabled] {
    background-color: #dfdfdf;
    color: #888
}

.test-paper .bottom-bar .btn-wrap .btn-flat[disabled]:hover {
    background-color: #dfdfdf;
    color: #888
}

.test-paper .bottom-bar .btn-wrap .btn-prev-question, .test-paper .bottom-bar .btn-wrap .btn-next-question {
    display: inline-block;
    height: 46px;
    border-radius: 0;
    text-align: center;
    background-color: #2ecc71;
    color: #fff
}

.test-paper .bottom-bar .btn-wrap .btn-prev-question:hover, .test-paper .bottom-bar .btn-wrap .btn-next-question:hover {
    background-color: #27ae60
}

.test-paper .question-list .heading {
    margin-top: .5rem;
    margin-bottom: .5rem;
    font-size: 2rem
}

.test-paper .question-list .question {
    position: relative;
    width: 100%
}

.test-paper .question-list .question .handle-board {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%
}

.test-paper .question-list .option-list .option-item {
    position: relative;
    border-bottom: 1px dashed #c0c0c0
}

.test-paper .question-list .option-list .option-item:last-child {
    border-bottom: 0 none
}

.test-paper .question-list .option-list .option-content {
    vertical-align: middle;
    padding-top: 15px;
    padding-left: 50px;
    padding-bottom: 15px;
    padding-right: 15px;
    font-size: 1.6rem;
    background-color: #fafafa
}

.test-paper .question-list .option-list .select-icon {
    position: absolute;
    top: 18px;
    left: 18px;
    color: #95a5a6
}

.test-paper .question-list .option-list .selected .option-content {
    color: #fff;
    background-color: #2ecc71
}

.test-paper .question-list .option-list .selected .select-icon {
    color: #fff
}

.scoreboard {
    padding-top: 15px;
    padding-bottom: 15px
}

.scoreboard .score-title {
    margin-top: 0
}

.app-container {
    padding-right: 15px;
    padding-left: 15px;
}